package com.hghivln.erpwarehouse.system.service;

import com.hghivln.erpwarehouse.system.common.lang.DataGridlView;
import com.hghivln.erpwarehouse.system.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hghivln.erpwarehouse.system.vo.DeptVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hghivln
 * @since 2021-06-27
 */
public interface DeptService extends IService<Dept> {

    DataGridlView queryAllDept(DeptVo deptVo);

    DataGridlView queryDeptMaxOrderNum();

    DataGridlView getDeptChildrenCountById(Integer id);

    Dept saveDept(DeptVo deptVo);

    Dept updateDept(DeptVo deptVo);
}
